//最底层div
.underlying {
  overflow: auto;
  min-width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 0px 8px #000;
  height: 100%;
  background: rgba(32, 48, 51, 1);
  border: 10px solid #000;
  padding: 25px 0px 0px 25px;
}

//外层div
.table {
  height: 100%;
  width: 98%;
  text-align: center;
}

//表头
:host ::ng-deep .ant-table-header {
  background: rgba(48, 73, 77, 1);
}

:host ::ng-deep .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  margin-bottom: -25px !important;
}

.tableHeard {
  background: rgba(48, 73, 77, 1);
  border-radius: 4px 4px 0px 0px;
  height: 50px; //改高度50px  Claire 04/22
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important; ////  05/09
}

::ng-deep thead {
  text-align: center !important;
}

a {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  cursor: pointer;
  transition: color .3s;
  -webkit-text-decoration-skip: objects;
}

th {
  background: rgba(48, 73, 77, 1) !important;
  height: 50px;
  // padding: 0px !important;
  // padding-right:0 !important;
  // padding-left:0 !important;
  color: rgba(255, 255, 255, 1) !important;
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
}

::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

// td{
//   padding-top:6px !important;
//   padding-bottom:6px !important;
//   padding-left:1px !important;
//   padding-right:3px !important;
//   color:#ffffff;
//   }
//工联单Table
.designTable {
  margin: 0 auto;
}

.new {
  width: 32px;
  height: 32px;
  background-image: url(../../../assets/image/icon_new.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  margin: 0;
  padding: 0;
}

//添加领取治具
.delivery {
  display: inline-block;
  background: url(../../../assets/image/icon_delivery.svg) no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

//添加入庫時間
.addDate {
  display: inline-block;
  background: url(../../../assets/image/btn_addtime_normal.svg) no-repeat center;
  background-size: contain;
  width: 116px; //改高度值  Claire
  height: 27px; //改高度值  Claire
  vertical-align: middle;
}

.addDate:hover {
  background: url(../../../assets/image/btn_addtime_over.svg);
}

//添加时间弹框
.addTime {
  display: flex;
  justify-content: center;
  align-items: center;
}

// 日期
nz-date-picker {
  vertical-align: middle;
  background: rgba(32, 48, 51, 1);
}

::ng-deep .ant-calendar-time-picker-btn {
  font-size: 16px;
}

::ng-deep .ant-calendar-today-btn {
  font-size: 16px;
}

::ng-deep .ant-calendar-footer {
  padding: 5px 11px;
}

// 选择框中的图标
:host ::ng-deep .anticon {
  color: rgba(255, 255, 255, 1) !important;
}

:host ::ng-deep .ant-picker-input>input {
  color: rgba(255, 255, 255, 1);
  font-size: 18px;
  background: rgba(32, 48, 51, 1);
}

:host ::ng-deep .ant-input:focus {
  border-color: rgba(72, 156, 156, 1);
  border-right-width: 0px;
}

::ng-deep .ant-input {
  width: 220px;
  height: 30px;
  font-size: 18px;
  background-color: rgba(32, 48, 51, 1);
  border: 1px solid #ffffff;
  color: #ffffff;
}

::ng-deep .ant-calendar-picker-icon {
  right: -10px;
  font-size: 18px;
  margin-top: -10px;
}

.right {
  width: 200px;
  text-align: right;
}

.input_first {
  margin: 0 auto;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
}

.input_first>input {
  height: 30px;
  width: 220px;
  text-indent: 12px;
  background: rgba(32, 48, 51, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 4px;
  vertical-align: middle;
}

.input_first:hover>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

.input_first:focus>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

:host ::ng-deep .ant-modal-body .ng-star-inserted {
  font-size: 18px;
}

//表格内容
.tablecontent {
  background: rgba(32, 48, 51, 1) !important;
  color: #ffffff;
}

::ng-deep .ant-table-tbody>tr>td {
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
  background: rgba(32, 48, 51, 1);
}

:host ::ng-deep tr.ant-table-expanded-row td>.ant-table-wrapper {
  margin-top: -6px;
  margin-left: 0px;
  margin-right: -6px;
  margin-bottom: -7px;
}

:host ::ng-deep table {
  height: 39px; //修改高度 Claire 04/23
}

:host ::ng-deep #first:hover>td {
  background: rgba(48, 73, 77, 0.5) !important; //修改背景色 Claire 04/23
  height: 39px;
}

:host ::ng-deep #second:hover>td {
  background: rgba(27, 41, 44, 1) !important; //修改背景色 Claire 04/23
  height: 39px; //修改高度 Claire 04/23
  text-align: left; //改文字左对齐
  border-bottom: 1px solid rgba(48, 73, 77, 0.5) !important; //修改颜色 Claire 04/23
}

:host ::ng-deep #second>td {
  background: #1C2224 !important;
  height: 39px; //修改高度 Claire 04/23
  border-bottom: 1px solid rgba(48, 73, 77, 0.5) !important; //修改颜色 Claire 04/23
}

:host ::ng-deep #fouth {
  background: #1C2224 !important;
  height: 39px; //修改高度 Claire 04/23
}

:host ::ng-deep #fouth:hover>td {
  background: rgb(73, 146, 146) !important;
}

:host ::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

::ng-deep .ant-modal-content .ant-btn-primary {
  border: 1px solid rgba(72, 156, 156, 1);
  background: rgba(48, 73, 77, 1);
  font-size: 16px;
  color: rgba(72, 156, 156, 1);
  margin-left: 20px;
}

::ng-deep .ant-modal-content {
  .ant-btn {
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(48, 73, 77, 1);
    font-size: 16px;
    color: rgba(72, 156, 156, 1);
  }

  .ant-btn:hover {
    //增加按钮hover效果 Claire
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(72, 156, 156, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }

  .ant-btn:focus {
    //增加按钮focus效果  Claire
    border: 1px solid rgba(55, 122, 122, 1);
    background: rgba(55, 122, 122, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }
}

::ng-deep .ant-modal-content {
  background: rgba(48, 73, 77, 1);
  border-radius: 8px;
  // width: 600px;
  // height: 280px;
}

::ng-deep .ant-modal-header {
  background: rgba(48, 73, 77, 1) !important;
  border-bottom: 0px !important;
  border-radius: 8px 8px 0px 0px !important;
}

::ng-deep .ant-modal-footer {
  border-radius: 0px 0px 8px 8px;
  height: 60px; /// 定義高度05/09
  padding: 14px 16px; //修改05/09
  background: rgba(48, 73, 77, 1); /// 定義背景色05/09
  border-top: none;
}

::ng-deep .ant-modal-title {
  font-size: 20px;
  font-family: Noto Sans;
  font-weight: 400;
  line-height: 27px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 15px;
  opacity: 1;
}

::ng-deep .anticon {
  color: #ffffff;
}

:host ::ng-deep .ant-modal {
  top: 0px;
}

// 滚动条
::ng-deep ::-webkit-scrollbar {
  background: rgba(32, 48, 51, 1);
  width: 6px; //右側滾動條寬度  Claire 04/24
  height: 15px; //下側滾動條高度  Claire 04/24
}

// // 滚动条的条  vertical 竖向
::ng-deep ::-webkit-scrollbar-thumb:vertical {
  background: #489C9C;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

// // horizontal 横向
::ng-deep ::-webkit-scrollbar-thumb:horizontal {
  box-shadow: auto;
  background: #489C9C;
  ;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

::ng-deep::-webkit-scrollbar-corner {
  ///去右下滾動條白色  Claire 04/24
  background-color: rgba(32, 48, 51, 1); ///去右下滾動條白色  Claire 04/24
}

::ng-deep .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
  background: rgba(32, 48, 51, 1);
  border-bottom: none; ///   05/09
  margin-top: 10px;
}

::ng-deep .ant-table-placeholder {
  background: rgba(27, 29, 31, 1);
  border-top: 0px; //彈出框移除boder上方白線 05/09
  border-bottom: 0px; //彈出框移除boder下方白線 05/09
  border-radius: 0px 0px 0px 0px; //彈出框去圓角 05/09
  display: none;
}

::ng-deep .ant-empty-normal {
  color: #ffffff;
}

:host ::ng-deep .ant-table table {
  text-align: center;
  width: 100%;
}
